//
//  ZDDViewController.m
//  MyLibrary
//
//  Created by dxyws@qq.com on 02/21/2017.
//  Copyright (c) 2017 dxyws@qq.com. All rights reserved.
//

#import "ZDDViewController.h"
#import "UIViewController+isViewInWindow.h"

@interface ZDDViewController ()

@end

@implementation ZDDViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    NSLog(@"in viewDidLoad self is view in window result is %d", self.isViewInWindow);
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    NSLog(@"in viewDidAppear self is view in window result is %d", self.isViewInWindow);
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
